package com.auction.service.impl;

import com.auction.common.dao.MyBaseServiceImpl;
import com.auction.entity.Role;
import com.auction.mapper.RoleMapper;
import com.auction.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl extends MyBaseServiceImpl<Role, RoleMapper> implements RoleService {

    @Autowired
    private RoleMapper roleMapper;
    @Override
    public List<Role> getRoles() {
        return roleMapper.getRoles();
    }
}
